import request from '../Utils/request'

//查找分类
export function GetCategory(params){
    return request.get(`/Category`,{params:params});
}
//添加分类
export function addCategpry(data){
    return request.post(`/Category`,data)
}

//查找一级分类
export function GetCategory1(){
    return request.put(`/Category/category1`)
}
//查找二级分类
export function GetCategory2(data){
    return request.put(`/Category`,data)
}
//查找三级分类
export function GetCategory3(data){
    return request.put(`/Category/category3`,data)
}
